package com.huangj.pro2_h2pop;

import android.app.Application;

import com.baidu.mapapi.SDKInitializer;
import com.huangj.huangjlibrary.util.SharedUtil;

/**
 * Created by HuangJ on 2016/9/26.23:32
 */
public class AppContext extends Application {


    @Override
    public void onCreate() {
        super.onCreate();
        //在使用SDK各组件之前初始化context信息，传入ApplicationContext
        //注意该方法要再setContentView方法之前实现
        SDKInitializer.initialize(getApplicationContext());
        SharedUtil.init(this);
    }
}
